Chris Pollett > Old Classes
> |
HW#5 --- last modified March 02 2019 21:08:31..Due date: Dec 6
Files to be submitted: Purpose: To experiment with various aspect of 3D viewing and the viewing pipeline. Specification: For this assignment, imagine yourself in your favourite G-rated holiday movie. Imagine someone giving you a gift in a box in that movie. Your task for this assignment is to flexibly render this box and the present inside. The actual present is up to you but it must involve at least 10 polygons. When you first launch your program you should just see the box for the present drawn using a perspective projection. If you hit the space bar, the box should toggle between a solid and a wireframe. The wireframe should be drawn with hidden edges in a different color that visible ones. After hitting the space bar you can now see into the box and should be able to see the present inside. Page up and page down should allow you to change the size of the present box making it respectively bigger and smaller. If the box becomes smaller than the present you should clip the present to the box size. Finally, the left/right arrows allow you to circle the box at some fixed radius and the the up/down keys can be used to change this radius. Point Breakdown
|